﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Template/List.master" AutoEventWireup="true"
    CodeFile="OtherUserManage.aspx.cs" Inherits="Page_OtherUserManage" %>

<%@ Register Src="~/Control/ListHeader.ascx" TagName="ListHeader" TagPrefix="wsc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
<script type="text/javascript">
    function openNewOtherUser() {
        var width = 800;
        var height = 640;
        window.open("EditOtherUser.aspx?NoCache=" + Math.random(), "newwindow", 'width=' + width + ',height=' + height + ',toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,left=' + (screen.width - width) / 2 + ',top=' + (screen.height - height) / 2);
    }
    function refresh() {
            document.getElementById('ctl00$ListToolBarPlaceHolder$btnRefresh').click();
    }
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="TitlePlaceHolder" runat="Server">
    非平台人员管理
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ListToolBarPlaceHolder" runat="Server">
    <div style="display: none">
        <asp:TextBox ID="tbSelectedID" runat="server"></asp:TextBox>
        <asp:Button ID="btnRefresh" runat="server" OnClick="btnRefresh_Click" />
    </div>
    <table cellspacing="2" cellpadding="0" border="0" width="100%">
        <tr>
            <td class="ToolMenu" style="width: 60px" runat="server" id="trAdd">
                <div class="Normal" oldclass="Normal" onmouseover="OverChangeClass(this);" onmouseout="ReturnClass(this)"
                    onclick="openNewOtherUser();">
                    <span>
                        <img src="../Images/Icon/Object/Dataset-add.gif" alt="" /></span><span>添加</span>
                </div>
            </td>
            <td class="Fg">
                <img src="../Images/FgLine.gif" alt="" />
            </td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="AdvancedSearchPlaceHolder" runat="Server">
    <table cellspacing="4" cellpadding="0" border="0" width="100%">
        <tr>
            <td align="right">
                &nbsp;用户名：
            </td>
            <td align="right">
                <asp:TextBox ID="tbUserName" runat="server" onfocus="calendar();" class="Textbox01"></asp:TextBox>
            </td>
            <td colspan="2" align="right">
                <asp:Button ID="btnAdvancedSearch" runat="server" CssClass="Button01" Text="开始查询"
                    OnClick="btnAdvancedSearch_Click" />
            </td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="ListHeaderPlaceHolder" runat="Server">
    <table cellspacing="0" cellpadding="0" border="0" class="PageGridHeader" width="100%">
        <wsc:ListHeader ID="lhName" runat="server" Title="&nbsp;用户名" OrderColumn="Name" Align="center" />
        <wsc:ListHeader ID="lhPlace" runat="server" Title="&nbsp;手机" Width="140" OrderColumn="Mobile"
            Align="center" />
        <wsc:ListHeader ID="lhCreateTime" runat="server" Title="&nbsp;添加时间" Width="140" OrderColumn="CreateTime"
            Align="center" FirstOrderDirection="DESC" />
    </table>
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="ListContentPlaceHolder" runat="Server">
    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="MainInfolist">
        <asp:Repeater ID="rptAttendences" runat="server">
            <ItemTemplate>
                <tr id="TableRow_<%# Container.ItemIndex%>" style="cursor: hand" class="Normal" oldclass="Normal"
                    onmouseover="OverChangeClass(this);" onmouseout="ReturnClass(this)" onclick="ClickChangeClass(this);OpenDetail('OtherUserDetail.aspx?ID=<%# DataBinder.Eval(Container.DataItem, "ID")%>&Manage=false&Nocache=' + Math.random());">
                    <td align="left">
                        &nbsp;<%# DataBinder.Eval(Container.DataItem, "DisplayName")%></td>
                    <td width="140" align="left">
                        &nbsp;<%# DataBinder.Eval(Container.DataItem, "Mobile")%></td>
                    <td width="140" align="left">
                        <a title="<%# DataBinder.Eval(Container.DataItem, "CreateTime")%>">
                            <%# DataBinder.Eval(Container.DataItem, "CreateTime")%></a>
                    </td>
                </tr>
            </ItemTemplate>
        </asp:Repeater>
    </table>
</asp:Content>
